ApplePay API
Verify Card
Provisioning API :
URLS:
Description : This endpoint is used to verify the card.
A user who wishes to verify the card will start through VTS (VISA). Request will be triggered to Thales(D1). D1 will trigger a POST request to Mulesoft Verify endpoint. Mulesoft will map the request as per CMS and hit CMS Verification API. Response about the transaction is sent from CMS to Mulesoft in real-time basis.
A response is sent back to the D1 immediately. If transaction fails due to any reason, a proper error is sent back to the API consuming channel to both REST using the error codes defined.
Mulesoft Request (Sample):
Mandatory Headers: x-correlation-id
Paramaters:
URI Params: issuerId
Query Params: NA
Content-Type : application/json
Request Body:
{
"encryptedData": "ey89bfp34cn394cn3394c3nic34984guvb49qijwncirv92v924fni",
"cardId": "12345",
"cardBin": "123456"
}
Mulesoft Response (Sample):
Success Response: (200)
{
"cardId": "L7f9000000000000f6",
"consumerId": "L7f9000000000000f6",
"accountId": "L7f9000000000000f6",
"verificationResults": {
"securityCode": {
"valid": true,
"verificationAttemptsExceeded": false
},
"card": {
"lostOrStolen": false,
"expired": false,
"invalid": false,
"fraudSuspect": false
}
}
}
Sample Error Response:
Error codes :
400 :
{
"responseCode": {
"error": 0,
"message": "Invalid Card Status"
}
}
500 :
“ ”